var AJS = AJS || {};
AJS.WALLBOARD = AJS.WALLBOARD || {};
(function () {
    AJS.$(this).one("load", function () {
        if (JIRA.FormDialog) {
            new JIRA.FormDialog({
                id: "configure_wallboard_dialog",
                trigger: "#configure_wallboard"
            })
        } else {
            new AJS.FormPopup({
                id: "configure_wallboard_dialog",
                trigger: "#configure_wallboard"
            })
        }
    })
})();